import img1 from './assets/img1.png';
import img2 from './assets/img2.jpeg';

function createImage(src) {
  const $img = document.createElement('img');
  $img.src = src;
  return $img;
}

const $body = document.body;

const $img1 = createImage(img1);
$body.appendChild($img1);

const $img2 = createImage(img2);
$body.appendChild($img2);
